﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ProjectFitus.Models.SpecialistCreationModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjostagjf.is | Fagaðilaumsókn
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Fagaðilaumsókn</h2>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

        

            
            <div class="editor-label">
                <label for="professionId">Hlutverk fagaðila: </label>
            </div>
            <div class="editor-field">
                <%= Html.DropDownListFor(model => model.professionId, Model.professionDropDownList) %>
            </div>
            
            <div class="editor-label">
                <label for="specialty">Sérfræði eða önnur gráða: </label>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.specialty) %>
                <%= Html.ValidationMessageFor(model => model.specialty) %>
            </div>

            <div class="editor-label">
                <label for="requestDescription">Nánari upplýsingar:</label>
            </div>
            <div class="editor-field">
                <%= Html.TextAreaFor(model => model.requestDescription, 6, 50, new object { })%>
                <%= Html.ValidationMessageFor(model => model.requestDescription) %>
            </div>
            
            <p>
                <input type="submit" value="Staðfesta" />
            </p>
       

    <% } %>

    <div>
        <%= Html.ActionLink("Til baka á forsíðu", "Index", "Home") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="SideContent" runat="server">
</asp:Content>

